package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "sm_member_scan_code")
public class SmMemberScanCode {
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 关键词
	 */
	@TableField(value = "key_word")
	private String keyWord;

	/**
	 * 添加会员时长
	 */
	@TableField(value = "duration")
	private Integer duration;

	/**
	 * 扫码次数
	 */
	@TableField(value = "count_can")
	private Integer countCan;

	/** 备注 */
	@TableField(value = "comment")
	private String comment;

	public static final String COL_ID = "id";

	public static final String COL_KEY_WORD = "key_word";

	public static final String COL_DURATION = "duration";

	public static final String COL_COUNT = "count_can";

	public static final String COL_COMMENT = "comment";
}